package com.iocup.keybastion.sso.config;

import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 * @author xyjxust
 * @create 2022/3/17 17:56
 **/
@Setter
@Getter
public class SsoClientProperties {

    private List<SsoClient> clients = new ArrayList<>();

    @Setter
    @Getter
    public static class SsoClient{
        /**
         * 客户端id
         */
        private String clientId;
        /**
         * 客户端秘密
         */
        private String clientSecret;
        /**
         * 回调地址
         */
        private String callbackUrl;
        /**
         * 登出地址
         */
        private String logoutUrl;
    }
}
